import { Header } from 'element-ui'
import { request } from '../utils/request'


// 用户登录
export function getData1(params) {
    return request({
        method: 'post',
        url: 'city/getProvinceDetails',
        data: params,
        headers:{
            'Content-Type': 'application/json',
              'token':window.localStorage.token
        }
    })
}
export function getData2(params) {
    // return request({
    //     method: 'post',
    //     url: 'city/getProvinceDetails',
    //     data: params,
    //     headers:{
    //         'Content-Type': 'application/json',
    //         'token':window.localStorage.token
    //     }
    // })
}
export function getCityOption(params) {
    return request({
        method: 'post',
        url: 'city/getCityOption',
        data: params,
        headers:{
            'Content-Type': 'application/json',
              'token':window.localStorage.token
        }
    })
}
